<?php if ($a[topnavlist] != '') { ?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
    <td class="smallText"><?php echo $a[topnavlist] ?></td>
    <td class="smallText" align="right"><?php echo $a[topnavres] ?></td>
  </tr>
</table>

<?php   } 
?>

<?php
new productListingBox($list_box_contents);
?>

<?php
   if ($a[botnavlist] != '' ) { ?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
    <td class="smallText"><?php echo $a[botnavlist] ?></td>
    <td class="smallText" align="right"><?php echo $a[botnavres] ?></td>
  </tr>
</table>
<?php   } ?>
